package interview.javabase.reflect;

import lombok.extern.slf4j.Slf4j;

/**
 * @author 大硕
 * 2019-04-02 7:56 AM
 **/
@Slf4j
public class Robot {
    private String name;

    public void sayHi(String word) {
        log.info(name + " say : {}", word);
    }

    public String sayHello() {
        log.info(name + " say hello");
        return name + "say Hello";
    }
}